Xor (exclusive or)

Use the following symbols in expressions to represent this operation:

The operation is applied to the Boolean values either side of the operator. This means that P ^^ Q is worked out for the various values of P and Q as follows:

P Q P ^^ Q
TRUE TRUE FALSE
TRUE FALSE TRUE
FALSE TRUE TRUE
FALSE FALSE FALSE

See also: